<template lang="pug">
    div.container
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";

@Component({
    components: {}
})
export default class Home extends Vue {
    private menus: string[] = ["开始剧情", "快速游戏", "关于我们", "退出游戏"];
    private isActive: number = -1;
    private openMenu(index: number) {
        this.isActive = index;
        if (index === 1) {
            setTimeout(() => {
                this.$router.push({ path: "/game" });
            }, 200);
        }
    }
}
</script>

<style scoped lang="scss">
</style>
